package com.cnap.db.entity;


import com.cnap.model.schedule.engine.EngineClusterInfo;
import com.cnap.model.schedule.engine.alg.AlgDeployClusterInfo;

import java.util.List;

/**
 * 集群信息数据库实体类
 *
 * @author xc
 **/
public class ClusterInfoPO {
    // id
    private String id;
    // 应用id
    private String appId;
    // 命名空间
    private String namespace;
    // 用户选择
    private String userChooseCloud;
    // 算法推荐
    private String recommendCloud;
    // 强制隔离
    private boolean forcedIsolation;

    // 集群信息
    private List<EngineClusterInfo> clusterInfos;
    // 详细信息
    private List<AlgDeployClusterInfo> algDeployClusterInfos;

    /**
     * get
     *
     * @return ForcedIsolation
     */
    public boolean isForcedIsolation() {
        return forcedIsolation;
    }

    /**
     * set
     *
     * @param forcedIsolation forcedIsolation
     */
    public void setForcedIsolation(boolean forcedIsolation) {
        this.forcedIsolation = forcedIsolation;
    }

    /**
     * get
     *
     * @return AlgDeployClusterInfos
     */
    public List<AlgDeployClusterInfo> getAlgDeployClusterInfos() {
        return algDeployClusterInfos;
    }

    /**
     * set
     *
     * @param algDeployClusterInfos algDeployClusterInfos
     */
    public void setAlgDeployClusterInfos(List<AlgDeployClusterInfo> algDeployClusterInfos) {
        this.algDeployClusterInfos = algDeployClusterInfos;
    }

    /**
     * get
     *
     * @return UserChooseCloud
     */
    public String getUserChooseCloud() {
        return userChooseCloud;
    }

    /**
     * set
     *
     * @param userChooseCloud userChooseCloud
     */
    public void setUserChooseCloud(String userChooseCloud) {
        this.userChooseCloud = userChooseCloud;
    }

    /**
     * get
     *
     * @return RecommendCloud
     */
    public String getRecommendCloud() {
        return recommendCloud;
    }

    /**
     * set
     *
     * @param recommendCloud recommendCloud
     */
    public void setRecommendCloud(String recommendCloud) {
        this.recommendCloud = recommendCloud;
    }


    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return AppId
     */
    public String getAppId() {
        return appId;
    }

    /**
     * set
     *
     * @param appId appId
     */
    public void setAppId(String appId) {
        this.appId = appId;
    }

    /**
     * get
     *
     * @return Namespace
     */
    public String getNamespace() {
        return namespace;
    }

    /**
     * set
     *
     * @param namespace namespace
     */
    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    /**
     * get
     *
     * @return ClusterInfos
     */
    public List<EngineClusterInfo> getClusterInfos() {
        return clusterInfos;
    }

    /**
     * set
     *
     * @param clusterInfos clusterInfos
     */
    public void setClusterInfos(List<EngineClusterInfo> clusterInfos) {
        this.clusterInfos = clusterInfos;
    }
}
